package com.itheima.service.mongo;


import com.itheima.vo.PageBeanVo;
import com.itheima.vo.UserLikeCountVo;

public interface UserLikeService {
    //保存喜欢记录
    void save(Long userId, Long likeUserId);
    //判断一下二人是否相互喜欢
    boolean isMutualLike(Long userId, Long likeUserId);
    //删除user_like表中好友关系
    void delete(Long userId, Long likeUserId);
    //统计用户的喜欢 朋友 粉丝数量
    UserLikeCountVo findUserCounts(Long userId);
    //互相喜欢、喜欢、粉丝、谁看过我
    PageBeanVo findUserList(Long userId, Integer type, Integer pageNum, Integer pageSize);
}
